package com.ntschy.taizhou.threaddemo;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;

public class AlterCheckThread implements Callable<Map<String, List<HashMap>>> {

    private String key;
    private String equipIds;

    public AlterCheckThread(String key, String equipIds ) {
        this.key = key;
        this.equipIds = equipIds;
    }

    /***
     *  根据
     * @return
     * @throws Exception
     */
    @Override
    public Map<String, List<HashMap>> call() throws Exception {
        Map<String, List<HashMap>> map = new HashMap<>();
       Thread.sleep(4*1000);
        map.put(key, new ArrayList<>());
        return map;
    }
}
